﻿using UnityEngine;

//Obj类型
public enum Obj_Type                    
{
    None,
}

public class ObjModelData
{
    public Vector2 Point;
    public int ObjType;
    public int ServerID;
    public int DataModelID;
}

public class CharacterData : ObjModelData
{
    public int m_RoleBaseID;                   //在RoleBase表中的ID
    public string m_StrName;                      //Obj的名字
    public int m_nProfession;                  //职业 （创建玩家用的）
    public string m_strTitleName;                 //称号名
    public int m_CurTitleID;                   //称号ID
    public int m_OwnerObjId;                   //主人objid
    public int m_MountID;                      // 坐骑ID
    public float m_MoveSpeed;                    // 移动速度
    public int m_WeaponDataID;                 // 当前武器
    public int m_ModelVisualID;                // 当前模型外观ID
    public int m_WeaponEffectGem;              // 武器特效宝石
    public int m_StealthLev;                   //隐身级别
    public int m_FellowQuality;                //伙伴品质（创建伙伴用）
    
    public int m_nShenYiId;                         // 神翼ID
    public int m_nShenYiQuality;                    // 神翼等级
    public int m_ModelVisualColorID;                // 时装颜色ID
    public int m_equippedTripodID;                  //宝鼎ID
    public int m_BindFurIndex;						//绑定的家具索引
    public int m_PetIdx;                            //家园宠物索引
    public int m_Gender;                              //性别
}

public class BaseAttr
{
    /// <summary>
    /// 生命值
    /// </summary>
    public int HP;
    /// <summary>
    /// 法力值
    /// </summary>
    public int MP;
    /// <summary>
    /// 战意
    /// </summary>
    public int XP;
    /// <summary>
    /// 经验
    /// </summary>
    public int Exp;
    /// <summary>
    /// 等级
    /// </summary>
    public int Level;

    /// <summary>
    /// 数据表ID
    /// </summary>
    public int RoleBaseID;
    /// <summary>
    /// 名字
    /// </summary>
    public string RoleName;
    /// <summary>
    /// 头像
    /// </summary>
    public string HeadPic;
    /// <summary>
    /// 移动速度
    /// </summary>
    public float MoveSpeed;
    
    /// <summary>
    /// 战力
    /// </summary>
    public int CombatValue;
    /// <summary>
    /// 体能
    /// </summary>
    public int CurStamina;
    /// <summary>
    /// 势力范围
    /// </summary>
    public int Force;

    /// <summary>
    /// 轻功等级
    /// </summary>
    public int LightSkillLevel;
    /// <summary>
    /// 角色创建时间
    /// </summary>
    public long RoleCreateTime;
    /// <summary>
    /// 死亡状态
    /// </summary>
    public bool Die;
}